<!doctype html>
<html class="os_win7"><!--os_winXp,os_mac,os_vista,os_win7-->
<head>
	<meta charset="utf-8" />
	<title>QAMS</title>
	<link href="css/project.css" rel="stylesheet" media="screen" />
</head>



<body>
<div class="wrapper" id="wrapper">
	<!-- 顶部固定栏 开始 -->
	<div class="topfix_bar">
		<div class="topfix_bar_inner">
			<h1><a href="main.htm" target="win">QAMS.</a></h1>
			<div class="mainmenu">
				<ul>
					<li id="nav1">
						<a href="project_manage.htm"  target="win">项目</a>
						<div class="submenu">
							<ul>
								<li><a href="project.htm?action=add" target="win">新建项目</a></li>
								<li><a href="project_manage.htm"  target="win">管理项目</a></li>
							</ul>
						</div>
					</li>
					<li id="nav2"><a href="page_list.htm" target="win">页面</a>
						<div class="submenu">
							<ul>
								<li><a href="page.htm?action=add"  target="win">新建页面</a></li>
								<li><a href="page_manage.htm"  target="win">管理页面</a></li>
							</ul>
						</div>
					</li>
					<li id="nav3"><a href="page_list.htm?type=1"  target="win">框架</a>
						<div class="submenu">
							<ul>
								<li><a href="page.htm?type=1&action=add"  target="win">新建框架</a></li>
								<li><a href="page_manage.htm?type=1"  target="win">管理框架</a></li>
							</ul>
						</div>
					</li>
					<li id="nav4"><a href="code_list.htm?type=0" target="win">布局</a>
						<div class="submenu">
							<ul>
								<li><a href="code.htm?type=0&action=add" target="win">新建布局</a></li>
								<li><a href="code_list.htm?type=0" target="win">管理布局</a></li>
							</ul>
						</div>
					</li>
					<li id="nav5"><a href="code_list.htm?type=1" target="win">容器</a>
						<div class="submenu">
							<ul>
								<li><a href="code.htm?type=1&action=add&action=add" target="win">新建容器</a></li>
								<li><a href="code_list.htm?type=1" target="win">管理容器</a></li>
							</ul>
						</div>
					</li>
					<li id="nav6"><a href="code_list.htm?type=2" target="win">模块</a>
						<div class="submenu">
							<ul>
								<li><a href="code.htm?type=2&action=add" target="win">新建模块</a></li>
								<li><a href="code_list.htm?type=2" target="win">管理模块</a></li>
							</ul>
						</div>
					</li>
					<li id="nav7"><a href="code_list.htm?type=3" target="win">组件</a>
						<div class="submenu">
							<ul>
								<li><a href="code.htm?type=3&action=add" target="win">新建组件</a></li>
								<li><a href="code_list.htm?type=3" target="win">管理组件</a></li>
							</ul>
						</div>
					</li>
					<li id="nav8"><a href="user_manage.htm" target="win" id="nav_user" style="display:none">用户</a>
						<div class="submenu">
							<ul>
								<li><a href="user_manage.htm" target="win">用户管理</a></li>
								<li><a href="usergroup_permission_1.htm" target="win">新建用户组</a></li>
								<li><a href="usergroup_permission_2.htm" target="win">权限预览</a></li>
								<li><a href="usergroup_permission_3.htm" target="win">权限管理</a></li>
							</ul>
						</div>
					</li>
					<li id="nav9"><a href="setting.htm" target="win" id="nav_setting" style="display:none">设置</a>
						<div class="submenu">
							<ul>
								<li><a href="setting.htm" target="win">全局设置</a></li>
								<li><a href="link.htm" target="win">链接管理</a></li>
								<li><a href="project_type_manage.htm" target="win">项目类型</a></li>
								<li><a href="sql.htm" target="win">数据库备份</a></li>
							</ul>
						</div>
					</li>
				</ul>
			</div>
			<div class="sys_welcome">
				<span id="user_id"></span> <a id="login_status" href="javascript:void(0);"></a><!--<a href="javascript:void(0)" onclick="">设置</a>-->
			</div>
		</div>
	</div>
	<!-- 顶部固定栏 结束 -->
	<div class="">
		<div class="body_inner">
			<iframe id="win" name="win" width="100%" border="0" frameborder="0" style="overflow:auto" src="main.htm"></iframe>
		</div>
	</div>

</div>

<div id="message_div"></div>


<script src="js/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="js/public.js" type="text/javascript"></script>
<script src="js/functions.js" type="text/javascript"></script>
<script src="js/login.js" type="text/javascript"></script>
<script type="text/javascript">

iframe_flag=false;
$(document).ready(function () {
	mainmenu();
	login.getUserCookie();

	var win_href=cookie.get("win_href");
	
	if(win_href!="" && win_href!=undefined)
		document.getElementById("win").src=win_href;
	//else
		//document.getElementById("win").src="main.htm";
		
});


var iframeHeight = function() {
	var height=document.documentElement.clientHeight-42;
    document.getElementById("win").height =   height;
    setTimeout(iframeHeight,200);
};

iframeHeight();

var nav_set=function(t){
	$(".mainmenu").find("li").removeClass("current");
	$("#nav"+t).addClass("current");
}


</script>



</body>
</html>